Dependence of viscoelastic properties on spacer length and molecular weight for a side-chain liquid crystal polymer in a nematic solvent