The critical flow rate of superfluid helium through narrow pores