Millimeter-Precision Laser Rangefinder Using a Low-Cost Photon Counter