Joule heating and wall flexibility effects on the peristaltic flow of magnetohydrodynamic nanofluid