Dynamics underlie the drug recognition mechanism by the efflux transporter EmrE