Fast and low-cost microbial toxicity bioassays based on electrochromic electron acceptors