Condensate compressibility and superconductor-insulator transition in Josephson junction arrays