Photodisintegration studies on p-nuclei: the case of Mo and sm isotopes