Guided wave propagation across sharp lateral heterogeneities: the complete wavefield at plane vertical discontinuities