Central values of additive twists of modular $L$-functions