Quantum manipulation of polaritonic band gaps of two coherently coupled Bose–Einstein condensates confined in an optical lattice