A prebiotic basis for ATP as the universal energy currency