Dissecting the ATP hydrolysis pathway of bacterial enhancer-binding proteins.