Turkish president defends hotly debated security bill