Application of the transtheoretical model to diabetes