Global existence for the dissipative wave equations with space–time dependent potential