Electronic structure and magneto-optical properties of solids