On Liouville-type theorems for elliptic and parabolic systems