Partial discharges measurements on conventional and nanocomposite enameled wires varying the ambient conditions