The rupture process and asperity distribution of three great earthquakes from long-period diffracted P-waves