Toddler died because of mould-infested flat that was 'unfit for humans'