Anisotropic charge dynamics in detwinned Ba(Fe1-xCox)2As2