Photoinduced self-organization of donor–acceptor complex intended for oxidative splitting of water