Workplace happiness has been declining for a decade – here’s how working from home could turn it around