what protects the earth from dangerous em waves