Development of a fast readout circuit for matrices of binary pixel sensors