Structural adaptation and conservation in quadruplex-drug recognition