On proper oscillatory and vanishing-at-infinity solutions of differential equations with a deviating argument