PEM: Prototype-based Efficient MaskFormer for Image Segmentation