Dollar rallies as weak economic data sinks euro