A 6-year research project found a surprisingly simple route to happiness