More than a dozen cities across the country have filed “public nuisance” lawsuits, claiming that a handful of large and profitable energy companies are responsible for climate change and should pay ruinous damages relating to the alleged effects of global warming in their towns.