The submillimeter spectrum of deuterated glycolaldehydes