Collapses-revivals phenomenon of a system of a two-linked cavities in the presence of an external classical field