Medical marijuana businesses given deadline to get licensed with state