A court in the United Arab Emirates has convicted a grieving expectant mother for losing her unborn baby in a car crash.