Exact coulomb cutoff technique for supercell calculations