Inflation, climate change and other factors have combined to push up premiums for homeowners insurance — with broad implications for consumers and the economy.