Molecular and electronic structure of molybdenum pentafluoride