Doping-induced volume changes in poly(3-octylthiophene) solids and gels