Magic ‘boosts pupils’ confidence’