Statistics and histopathology: a mixed-effects model approach to digital image analysis