The structural effect of sex ratio on secondary public school teachers