Science of happiness and the law