legal grounds for termination of employment