On stability conditions for second order linear differential equations