Hundreds of social homes in Ipswich were sold through the Right to Buy scheme over the last five years, new figures show.