Prices of oil and gold swung wildly in Asian trade as the Brexit vote count veered between putting remain and leave in the lead.