Danville man dies after being hit by truck