Excitons in rare gas atoms and solids