The ferroelastic transition of betaine borate