A spectroscopic study of GaAs homojunction internal photoemission far infrared detectors