Brazil enacts law to regulate carbon market