Van der Waals Heterostructures based on Two-dimensional Ferroelectric and Ferromagnetic Layers