Insights into xanthine riboswitch structure and metal ion-mediated ligand recognition