The effects of firms’ R&D and innovation activities on their survival: a competing risks analysis