Formal burning ceremony retires old flags