Closed-form stochastic response of linear building structures to spectrum-consistent seismic excitations