Mutational analysis of the MHD motif in resistance proteins reveals its functional role as sensor to transduce nucleotide-dependent conformational changes