UK railways cannot cope with climate crisis, says rail boss