Man sentenced for knowingly giving woman HIV virus