Photomorphogenesis for robot self-assembly: adaptivity, collective decision-making, and self-repair