Decomposition at the maximum for excursions and bridges of one-dimensional diffusions