Bubble lattice formation in titanium injected with krypton ions