Explicit Upper Bounds for L-functions on the critical line