The accurate determination of cell dimensions from single-crystal X-ray photographs