Emergency medical systems: a simulation study and computerized method for deployment of ambulances