Preparation of five- and six- membered cyclic ketones by the palladium-catalyzed cyclization reaction. Application to methyl dihydrojasmonate synthesis