Measuring the attitudes of patients towards diabetes and its treatment