Court rejects Cosby's attempt to reseal deposition testimony on affairs