On the baroclinic instability of nonplanar flows