Essays in firm productivity: trade, geography and recession