On periodic solutions of nonconservative systems