Electric field as a switching tool for magnetic states in atomic-scale nanostructures.