Algorithmic aspects of sums of hermitian squares