Suspect charged with shooting Rock Hill officer, assaulting girlfriend