Bitcoin hits $24,000 in Iran after government okays mining