Conversion of ecal and hcal reco geometry to TGeo format

Port changes from 7x branch.