Mechanistic analysis of strain-promoted cycloadditions and HOR/HER reactions with quantum mechanical calculations