Non-local approximation of the Mumford-Shah functional