Governments around the world have been condemned for "not caring" about journalists who are killed while working.