Stoichiometry of superconducting YBa2Cu3Oy. Determination of Cu(III)/Cu(II) ratio and oxygen content