revised version; to appear in Ann. Probab.