Two teenage boys have been taken to hospital with injuries thought to have been caused by fireworks being used near a high school in Glasgow, police have said.