Chemical alteration of tephra in the depositional environment: theoretical stability modelling