Activation energy and switching behavior of two interacting identical magnetic particles