Interacting electrons in artificial molecules with magnetic field of arbitrary direction