A study on phase transformation of SnOx thin films prepared by reactive magnetron sputtering