Photoresponse of granular YBaCuO thin films