Dependence of spectral moments of benzenoid hydrocarbons on molecular structure