Pharmaceutical thermal analysis : techniques and applications