Texas governor signs measure targeting 'sanctuary cities'