Two molecular mechanisms of apoptosis resistance