Measurement of D0-D0bar Mixing and CP Violation at BaBar