Study: Sycophantic AI can undermine human judgment