En journalist mördades i Costa Rica efter att ha exponerat kopplingar till narkotikahandel för politiken.