Deriving the labour supply curve from happiness data