Criteria of maximum overlap and minimum orbital energy in molecular orbital studies of conformations of transition-metal carbene and carbyne complexes