Ricci-flat warped products and Painlevé analysis