Stress inversion from initial polarities of a population of earthquakes: application to the Irpinia region (Southern Apennines).