Bahamas formally recognizes Palestine as state