Ferroelastic phase transition and anomalous elastic and thermal properties of betaine borate (CH3)3NCH2COO•H3BO3