Metamagnetism of uranium heavy-fermion compounds UPd2Al3, URu2Si2 and UPt3