Photon and electrodisintegration of independent particle model nuclei