Reflection and transmission of a Kelvin–Helmholtz wave incident on a shock in a jet