What two kinds of motion are exhibited by electrons in an atom?