Indiana sheriff: Inmate, jailer were prepared for shootout