A 12-year-old child has been killed and two others seriously wounded in a shooting at a school in Finland, police said, with a fellow 12-year-old pupil suspected of the attack being taken into custody.