who plays james potter in the harry potter films?