An organic compound A on heating with concentrated H2SO4 forms a compound B which on addition of one mole of hydrogen in presence of Ni forms a compound C. One mole of compound C on combustion forms two moles of CO2 and 3 moles of H2O. Identify the compounds A, B.