Optical isolator with theraml-effects compensation used mostly for the protection of the laser system from the back-reflections of the laser beam