Optical study of interacting donors in semiconductors