Electronic transition and electrical transport properties of delafossite CuCr1−xMgxO2 (0 ≤ x ≤ 12%) films prepared by the sol-gel method: A composition dependence study