Automatic Three-dimensional Reconstruction of Coronal Mass Ejection from STEREO A/B White-light Coronagraph Images