Excitation of free oscillations and surface waves by a point source in a vertically heterogeneous Earth