Stellar chromospheres, coronae, and winds