Geodesy and metrology with a transportable optical clock