Space weather: the solar perspective