Analyses of the factors influencing the accuracy of three-dimensional ultrasound in comparison with cone-beam CT in image-guided radiotherapy for prostate cancer with or without pelvic lymph node irradiation