EdgeTran: Co-designing Transformers for Efficient Inference on Mobile Edge Platforms