Why thousands of Americans are losing homeowners insurance