The economics of electrification