Australia and Hungary share Davis Cup spoils