Nurses and emergency doctors say there is no point investing in new hospital beds if there are not people to staff them.