Saving and restoring a model in TensorFlow