Solar modulation of the galactic cosmic ray spectra since the Maunder minimum