Multitube proportional chambers for the localization of electromagnetic showers in the CERN UA2 detector