Fears that substandard homes are putting people at risk as sweltering temperatures in the UK hit more than 30 degrees from independent analysis commissioned by the Lib Dems