Development of a pixel ionization chamber for beam monitor in proton therapy