Theory of Neutron Star Magnetospheres