Three weeks after abduction, photographer released in Afghanistan