take a photo via camera and save to sdcard