Optical spin-filtering effect in charged InAs/GaAs quantum dots