Speckle statistics in imaging systems