Simulations of microlayer formation in nucleate boiling