Exposure and vulnerability for seismic risk evaluations