A unified probabilistic framework for seismic hazard analysis