From cell fate dynamics to tissue organisation: Pattern formation by morphogen gradients