Structured illumination microscopy with unknown patterns and a statistical prior