How do sunspots and solar flares affect the environment?