A lithospheric profile across northern Taiwan: from arc-continent collision to extension