Use of silicon pixel detectors in double electron capture experiments