Kinetic Monte Carlo simulation of the wetting layer in Stranski–Krastanov heteroepitaxial growth