Examining the legal frame work for attracting foreign direct investment in the east African community