Periodic solutions of some classes of continuous second-order differential equations