Development and application of atomistic force fields for ionic materials