Electronic states and thicknesses of GaAs/GaAlAs quantum wells as measured by electroreflectance and spectroscopic ellipsometry