MATRIX: an innovative pixel ionisation chamber for on-line beam monitoring in hadrontherapy