Shifted geometric quantization