Three‐dimensional simulation of the coupled Perkins and Es‐layer instabilities in the nighttime midlatitude ionosphere