Spanish prime minister defends violent response to poll, as raids on ballot stations by riot police leave hundreds of Catalans injured