Magnetic and transport properties of Co–Cu microwires with granular structure