Mid-infrared computational spectroscopy with an electrically-tunable graphene metasurface