Crossed Andreev Reflection and Elastic Cotunneling in Three Quantum Dots Coupled by Superconductors