Discontinuous groups and automorphic functions (Mathematical surveys)