when was the bible written