Reconciling Markup Behavior under Trade and FDI: Gravity versus Market Power in a Ricardian World