Mercury and Moon He exospheres: Analysis and modeling