Dehydrogenation with phenylseleninic anhydride in the total synthesis of ergot alkaloids