Perturbation calculation on the hydrogen atom in electric and magnetic fields