A former Southern California mayor has pleaded guilty to acting as an illegal agent for the Chinese government