Inclusive (γ, N), (γ, NN) and (γ, Nπ) reactions in nuclei at intermediate energies