Effects of the main ecological factors on gallnut yield