Doctor gets jail time for out-of-state online prescribing