AGB and RGB stars in the dwarf irregular galaxy Leo A