Systematics of superconductivity in zinc substituted La-Sr-Cu-O and Y-Ba-Cu-O oxide superconductors