Determination of the proton spin structure functions for 0.05<Q2<5 GeV2 using CLAS