Molecular mechanism of GPCR-mediated arrestin activation