The influence of external finance and domestic investment on clean energy transitions for African urban and rural households