President criticises Irish housing as 'our great failure'