Bethalto occupancy inspector charged with two felonies