Flavour matters in leptogenesis