A Unified Approach to Measurement Error and Missing Data: Overview and Applications