A Swedish startup has developed a high-tech headset that fights depression. Here's how it works.