Assessment of carotid stiffness and intima-media thickness from ultrasound data: comparison between two methods