Essential physics of medical imaging