Singlet–triplet transition in two-electron quantum dots: Raman spectroscopic and photoelectric study