Polar regions of the moon as a potential repository of solar-wind-implanted gases