Two public leisure centres in Lincoln have closed after the charity that runs them ceased trading, a council has confirmed.