Einstein rings as a tool for estimating distances and the mass of a Schwarzschild black hole