Limit canonical systems on curves with two components