Hundreds of police officers in California have been stripped of their badges in the last few years for serious misconduct.