Optical and electronic properties of GaAs/AlAs random superlattices