Amplitude analysis of the B(s)0→K∗0K¯∗0 decays and measurement of the branching fraction of the B→ K∗ 0K¯ ∗ 0 decay [Amplitude analysis of the B0 (s)! K0K0 decays and measurement of the branching fraction of the B0! K0K0 decay]