Two sailors have died after being struck on their yachts during a race in Australia amid poor weather conditions, organisers have said.