Optimizing enzymatic dyeing of wool and leather