Greene’s residue criterion for the breakup of invariant tori of volume-preserving maps