Zeolitic imidazolate frameworks for use in electrochemical and optical chemical sensing and biosensing: a review