robert pattinson played in which harry potter movie?