Shack-Hartmann sensor based optical quality testing of whole slide imaging systems for digital pathology