Teacher satisfaction and its determinants: analysis based on data from Nigeria and Uganda