Interaction between internal waves and a permeable seabed