Quantum Chernoff bound as a measure of distinguishability between density matrices : application to qubit and Gaussian states