A residual based error estimator for the Mimetic Finite Difference method