Synthesis, Structure, and Thermotropic Mesomorphism of Layered N-Alkylpyridinium Tetrahalopalladate(II) Salts