Response of superconducting characteristics of Hg-based high-Tc thin films to photolithographic processes