Measurement of Laser Frequencies from CD3OH and CD3OD up to 8.6 THz