Spatio-temporal symmetries in linear control systems with an application to formation control