Mexico's president says government is investigating reported ransomware hack of legal affairs office