Periods of solutions of periodic differential equations