Fictitious-time wave-packet dynamics. II. Hydrogen atom in external fields