A group of environmentalists plans to ask voters to make Massachusetts the first state in the nation to adopt a so-called carbon tax by imposing new levies on gasoline, heating oil, and other fossil fuels based on the amount of carbon dioxide they produce.