A 1064 nm single-photon lidar for three-dimensional imaging