Rayleigh quotient and left eigenvalues of quaternionic matrices