Male workers who hear colleagues being sexist about women can be victims of sex harassment themselves, a Cardiff employment tribunal has ruled.