Italy says an Italian photographer kidnapped in Afghanistan last month has been freed .