Emerging photoacoustic and thermoacoustic imaging technologies for detecting primary and metastatic cancer and guiding therapy