Pipe cutting and beveling machine