Simulation of the microtremor H/V spectrum based on the theory of surface wave propagation in a layered half-space