The intracellular domain of major histocompatibility class-I proteins is essential for maintaining excitatory spine density and synaptic ultrastructure in the brain