Distributed atomic sequence and timestamp generator