First-principles study of pressure dependence superconductivity in technetium and tantalum