Electronic structure of atoms and molecules