bit error rate formula