Schools across Scotland and Northern Ireland have been evacuated following widespread bomb threats sent by email, with police launching urgent investigations and pupils sent home.