Rehabilitation must be available if cannabis legalised: minister