Huge rise in refugees becoming homeless as charities slam 'dysfunctional' system