The man who assassinated former Prime Minister Abe Shinzo has told police that he was planning a bombing attack.