Amazon has a trade-in program that pays you for your old tech — here’s how it works