The economics of under-grid and off-grid rural electrification in Ghana