Electronic states of neutral and ionized tetrahydrofuran studied by VUV spectroscopy and ab initio calculations