Binary Frames, Codes and Euclidean Embeddings