Overturning of a 3D rigid block subject to pulse-type and seismic base excitations