Autonomous colloidal crystallization in a galvanic microreactor