Strömgren and Hβ photometry of OB associations and open clusters – II. Tr 16 and Car OB2