Why pinning by surface irregularities can explain the peak effect in transport properties and neutron diffraction results in NbSe2 and Bi- 2212 crystals?