How marijuana companies can prepare for the dawn of federal legalization