Numerical investigation of the entrainment and mixing processes in neutral and stably-stratified mixing layers