FlatFormer: Flattened Window Attention for Efficient Point Cloud Transformer