Study finds AI boosted homework scores 18%—then tanked exam results 20%