Synthesis and properties of multifunctional Si–LiNbO3 heterostructures for non-volatile memory units