Heterojunctions based on phthalocyanine and nanocrystalline oxide:optical and electrochemical investigation