Periodic solutions of complex-valued differential equations and systems with periodic coefficients