Processes of heavy quark pair (lepton pair) and two gluon (two photon) production in the high energy quark (electron) proton peripheral collisions