Colloids as model systems for metals and alloys: a case study of crystallization