Visceral organ morphogenesis via calcium-patterned muscle contractions