Element-Based Formulations for Coupled Flow, Transport, and Chemical Reactions