Proximity coupling of a granular film with a ferroelectric substrate and giant electroresistance effect