The minimal length product over homology bases of manifolds