Penalisations of a Bessel process with dimension d(0 d 2) by a function of the ranked lengths of its excursions