Facebook friends caught 'cuddling' wind up in Dubai sex trial