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