Hermite–Hadamard type inequalities for co-ordinated convex and qausi-convex functions and their applications