Generalized Elias schemes for efficient harvesting of truly random bits