The gunman among the 11 people killed in the worst shooting in the history of Sweden at an adult education centre was unknown to police and acted alone, a police chief has said.