Hundreds of police attacks ‘involved spitting or coughing’