Basal and ligand-induced conformational ensembles in G protein-coupled receptor signaling