Causality and superluminal behavior in classical field theories: Applications to k-essence theories and modified-Newtonian-dynamics-like theories of gravity