gold ends lower as greece delay hits commodities