Non-volatile switching of magnetism in multiferroic heterostructures