Structural, mechanical and corrosion resistance of phosphorus-doped TiAlN thin film