Water wave scattering by thick rectangular slotted barriers