Acoustic-mismatch model of the Kaptiza resistance