who plays albus dumbledore in the first and second harry potter movies?