Bounds for modular $L$-functions in the level aspect