Integrated cross sections for the reactions A40(γ,p) and A40(γ,np)