Man convicted of second-degree murder in girlfriend's death