The electronic and magnetic properties of h-BN/MoS2 heterostructures intercalated with 3d transition metal atoms.