Periodic solutions of systems of nonautonomous ordinary differential equations