Titanium substitution in biotite: an empirical model with applications to thermometry, O2 and H2O barometries, and consequences for biotite stability