how is cystic fibrosis inherited