Relativistic DWBA calculations for medium energy photonuclear reactions