Bairstow: England needs to learn quickly ahead of the Ashes