Transition will be guided by law, says Kibaki