Modeling the choice to switch from fuelwood to electricity