Wiener-type invariants of some graph operations