SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models