Stranded astronaut credits survival to staying connected to his faith