Police have arrested a 24-year-old Syrian migrant on suspicion of planning a “bomb attack” on a church in Sweden.