Hydrogen and helium burning in zero-metal asymptotic giant branch stars and the existence of thresholds (in core mass and CNO abundance) for the occurrence of helium shell flashes