A veteran photographer for Associated Press (AP) has been shot dead and a long-serving journalist for the news agency has been wounded in eastern Afghanistan by an Afghan policeman.