Production of the charmonium states chi_c1 and chi_c2 in proton nucleus interactions at sqrt(s)=41.6 GeV