Triangular spectral element methods for geophysical fluid dynamics applications