Resonance states of two-electron quantum dots