Structural study of C60 and C70 cubane