Court rules San Francisco can limit 5G infrastructure over aesthetics