The effect of loose boundaries on wave propagation in a porous solid: Reflection and refraction of seismic waves across a plane interface