Embeddings of Stein spaces into affine spaces of minimal dimension