Recent development in friction of 2D materials: from mechanisms to applications