Determination of the composition of homogeneous light element binary compounds using charged-particle-induced nuclear reactions