Labour leader Jeremy Corbyn has pledged to put bad landlords "out of business" and introduce a charter of renters' rights, if his party wins the general election.