Hundreds of people have been injured, some seriously, during the police crackdown on Catalonia's banned independence referendum, a Catalan government spokesman said.