Investigation on high temperature superconductors: Mercury bearing cuprates and magnesium diboride, in relation to synthesis, structural microstructural and superconducting characteristics