Identification of 3d–4p transitions in Co-like W xlvii and Tm xliii and in Cu-like W xlvi and Tm xli from laser-produced plasmas