Hydrogenic impurity in double quantum dots