Extension of the Zimm and Rouse model to a polymer chain confined by a harmonic potential in θ-solvent conditions