Measurement of gravitational time delay using drag-free spacecraft and an optical clock