AP apologizes for firing reporter over WWII scoop