Is 2C-B illegal? If not, where can you purchase it from?

Also, where can one purchase 2C-I if it's not illegal?