Periodic solutions of a second order differential equation with one-sided growth restrictions on the restoring term