Solar causes of the long-term increase in geomagnetic activity