Government ‘must do more on affordable housing’