Amazon spied on rivals for a decade with a secret operation called 'Project Curiosity'