On the Metric Dimension of Generalized Tensor Product of Interval with Paths and Cycles