FROST: an ASIC for digital mammography with synchrotron radiation