Oil-cooled motor