NMR/NQR studies of hyperfine field and electric field gradient in RSr2Cu2GaO7, RBa2Cu2NbO8 and (R2−xCex)Sr2Cu2NbO10