Surface directed phase separation of semiconductor ferroelectric polymer blends and their use in non-volatile memories