Two people on two separate yachts in the Sydney to Hobart Yacht Race have died after they were each struck by sail booms on the NSW coast.