Criteria for the nonexistence of periodic orbits in planar differential systems