Photonuclear reactions at intermediate energies