Gun deaths and injuries have dropped sharply in California, even as the number of guns sold in the state has risen, according to new state data.