Coherent and paracoherent states in Josephson-coupled granular superconductors