Scientific progress and the future of humanity