Temperature dependence of the dynamics of optical spin injection in self-assembled InGaAs quantum dots