Explain the theory and practice of two methods of measuring astronomical distances that are based upon different physical principals?