Finding a positive definite linear combination of two Hermitian matrices