School apologises after pupils handed worksheet suggesting Polish migrants 'stealing' UK jobs