Magnitude of Historical Earthquakes, from Macroseismic Data to Seismic Waveform Modelling: Application to the Pyrenees and a 1905 Earthquake in the Alps