First principles study of electrocatalytic behavior of olivine phosphates with mixed alkali and mixed transition metal atoms