Thermoacoustic Tomography: Principles and applications