UTG: Towards a Unified View of Snapshot and Event Based Models for Temporal Graphs