Blind and robust estimation of adaptive optics point spread function and diffuse halo with sharp-edged objects