A model for the high-frequency electrical response of wet rocks