A new synthesis of thioesters and selenoesters of triflic acid under oxidative conditions