A court in Tanzania has sentenced a Kenyan accused of trying to sell an albino to 17 years in jail and a fine of more than $50,000 (£41,200).