Technology of manufacturing micropixel avalanche photodiodes and a compact matrix on their basis