Some vector inequalities for two operators in Hilbert spaces with applications