Origin of interface magnetism in BiMnO3/SrTiO3 and LaAlO3/SrTiO3 heterostructures.