Kaon matrix elements and CP violation from quenched lattice QCD: 1. The three flavor case