Four in 10 British homes not up to standard, says Shelter