Thermal evolution of tetramethylammonium tetrafluoborate and perchlorate investigated through dielectric and IR spectroscopy