Analytical and computer simulation study of molecular ordering of a liquid-crystalline system in annular confinements