ALMA high-frequency long-baseline campaign in 2017: a comparison of the band-to-band and in-band phase calibration techniques and phase-calibrator separation angles