Reverse-order law for weighted Moore–Penrose inverse of tensors