Hydrogenic impurities in parabolic quantum-well wires in a magnetic field