Swedish police have said around 10 people have been killed at an adult education centre, in what the country's prime minister said is the worst mass shooting in Sweden's history.