Connection between finite volume and mixed finite element methods