Energy levels in linear molecules: the inapplicability of Hund's rules