Hire externally or promote internally? In a labor shortage, the answer is clear