Metrics on diagram groups and uniform embeddings in a Hilbert space