Delayed fracture of ceramics caused by stress-dependent surface reactions