Optical spin orientation of non‐equilibrium electrons in GaAs and GaAs-AlAs solid solution