Intrinsic and extrinsic noise of gene expression in lineage trees