UNIVERSITY OF LATVIA FACULTY OF PHYSICS AND MATHEMATICS LATVIJAS UNIVERSITĀTE FIZIKAS UN MATEMĀTIKAS FAKULTĀTE Edgars Nitišs INVESTIGATIONS OF NONLINEAR OPTICAL ORGANIC GLASS WAVEGUIDES AND THEIR APPLICATIONS