Optimal intensity measures for the characterization of the ground motion in performance-based seismic design