Sri Lankan president vows security shake-up over attacks