The adaptive EWMA median chart for known and estimated parameters