Man accused of stabbing girlfriend