已知Sn是等比数列{an}的前n项和,a2.a8,a5成等差数列.求等比数列{an}的公比q