Photoinduced charge separation in donor–acceptor spiro compounds at metal and metal oxide surfaces: application in dye-sensitized solar cell