Fast and memory-efficient subspace embeddings for tensor data with applications