Local structural environment of calcium in garnets: a combined structure-refinement and XANES investigation