Reverse-flow perfusion of three-dimensional scaffolds