Electrochemical detection of pattern formation in the Belousov-Zhabotinskii reaction