Linking Remote-Sensing and In Situ Observations of Coronal Mass Ejections Using STEREO