Environmental Regulation, Resource Misallocation, and Total Factor Productivity: An Empirical Analysis Based on 284 Cities at the Prefecture-Level and Above in China