Trump violates ‘basic values’, says Obama