An implementation of time.monotonic() for Python 2 & Python 3