Men's prisons in England and Wales could run out of space later this year, the government has warned, as it announced three new jails worth £4.7bn will be built starting this year.