Continued fractions and Brjuno functions