A renowned astrophysicist explores the challenges facing Earth – and the prospect of life beyond it – in his new book “On the Future.”