Episodic ejection of relativistic jets by the X-ray transient GRO J1655 - 40