The effects of indium segregation on the valence band structure and optical gain of GaInAs/GaAs quantum wells