England team director Andy Flower said Alastair Cook's captaincy has been excellent and has made winning decisions in the Ashes series.