BiLipschitz embeddings and nonembeddings of metric spaces and related problems