THEORY OF DIRECT NUCLEAR REACTIONS