Measuring the distance-redshift relation with the baryon acoustic oscillations of galaxy clusters