Legal framework of human resources management: mobbing and sexual harassment in the workplace of the public sector