Calibration of Hubble Space Telescope Focal-Length Variations Using the Embedding Technique