Surface treatment of tantalum to improve its corrosion resistance