GREED: A Neural Framework for Learning Graph Distance Functions