Precise determination of lattice phase shifts and mixing angles