Photodisintegration of light and medium-weight nuclei at intermediate energies—II Photoproduction of 11C and 7Be from 40Ca