Niger soldiers detain president, declare coup on national tv