Cross sections of electron capture and electron capture ionization versus the impact parameter in collisions of a proton with multielectron atoms