sample for capturing camera image without UIImagePickerController