Electronic phase transition in CrN thin films grown by reactive RF magnetron sputtering