Development of structural colour in leaf beetles