Drag on flat plates of arbitrary porosity