Regular ternary semirings in terms of bipolar fuzzy ideals