Tanzanian court dismisses NGO appeal against four laws