Optimizing multi-pinhole SPECT geometries using an analytical model