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