Optical and mechanical properties of tantalum oxynitride thin films deposited by reactive magnetron sputtering