All five workers trapped in a Chilean copper mine have been found dead, a regional prosecutor has said.