One-Step Optimization of Adaptive SPECT Systems