who plays david in alvin and the chipmunks