Antisymmetric tensor fields in Randall–Sundrum thick branes