Flexible geometries for hand-held PET and SPECT cameras