An integrated approach to decentralized energy systems planning for developing countries