Optical study of electrochromic moving fronts for the investigation of ion transport in conducting polymers