Efficient Deployment of Transformer Models in Analog In-Memory Computing Hardware