Comparison theorems for third- and fourth-order linear equations