Single-cell trajectories of melanoma cell resistance to targeted treatment