A Medipix2-based imaging system for digital mammography with silicon pixel detectors