Swedish security police: Violence was ‘an act of terrorism’