Mechanism of allosteric modulation of P-glycoprotein by transport substrates and inhibitors