what harry potter movie does robert pattinson in?