Exact results of an alternating-bond mixed spin-1/2 and spin-1 Ising chain with both longitudinal and transverse single-ion anisotropies