Swedish police say mass shooter was connected to school where he opened fire