Baroclinic developments in jet entrances and exits. I: Linear normal modes