Investigation of flux distribution in YBaCuO thin films by means of the magneto-optical Faraday effect