New model of the average neutron and proton pairing gaps