The role of apical halogen coordination on the Tc of superconducting cuprates in the effective hole model