Insulation programmes costing billions of pounds have led to widespread problems with damp and mould.