Flow injection analysis as a diagnostic technique for development and testing of chemical sensors