Cation and anion disorder in HgBa2Can−1CunO2n+2+δ