R&D investments, financing constraints, exporting and productivity