Marriage is “greener” than divorce, finds study