Asymptotic distributions in some non-regular statistical problems