How a small British town used social connections to make residents happier and healthier