Periodic solutions for higher order differential equations with deviating argument