Convexity of functions defined by differential inequalities and integral operators