Defeat to Rafael Nadal will serve as a source of inspiration, believes Novak Djokovic