Electro-autotrophic synthesis of higher alcohols