Americans lost billions to scams last year, with investment fraud leading the surge. Here’s how to protect yourself.