The influence of flock dynamics, reproductive performance and mortality on productivity of traditionally managed goats in Sub Saharan Africa