Fernando Alonso takes pole at 2009 Hungarian Grand Prix, Felipe Massa badly injured