Enhanced photocatalytic hydrogen evolution and ammonia sensitivity of double-heterojunction g-C3N4/TiO2/CuO