On some applications of the arithmetic Riemann-Roch theorem for curves