Several recurrence relations and identities on generalized derangement numbers