The diffraction of an inhomogeneous plane wave by an impedance wedge in a lossy medium