First-principles study of electronic, vibrational, elastic, and magnetic properties of FeF2as a function of pressure