Theoretical analysis of effective electric fields in mercury monohalides