Solar-wind and solar-flare maturation of the lunar regolith