The Eynard--Orantin recursion for simple singularities