Applications of chalcogenide glasses in integrated and fiber optics (review)