Why does nature create patterns? A physicist explains the molecular-level processes behind crystals stripes and basalt columns