Periodic solutions of some nonlinear delay-differential equations