Shark takes dog at Sydney beach