In-pixel conversion with a 10 bit SAR ADC for next generation X-ray FELs