Flow and heat transfer in screw extruders: I. A variational analysis applied in helical co‐ordinates