Role of core and bridging groups in the transmission dynamics of HIV and STIs in Cotonou, Benin, West Africa.