Gambian president declares country an Islamic republic