We were ill-prepared for Lamu Shabaab attack, US army says