Electrochemical and optical sensors made of composites of metal–organic frameworks and carbon-based materials. A review