The Medipix2-based network for measurement of spectral characteristics and composition of radiation in ATLAS detector