Determination of density matrices of H(n = 3) atoms formed in charge transfer between protons and helium atoms