Decay to zero in critical cases of second order ordinary differential equations of Duffing type