A law of the iterated logarithm under sublinear expectations