The Physics of Phone Cameras: Photons to Pixels