Phonon-induced dephasing of optical spin control in single-charged quantum dots