which was the harry potter movie where robert pattinson played in?