Model atmospheres and radiation of magnetic neutron stars. I : The fully ionized case