The function of appendage patterning genes in mandible development of the sexually dimorphic stag beetle.