Pseudoatoms and atoms in strong magnetic fields