Representation of conformal maps by rational functions