Beloit School Board accepts superintendent resignation