Collective spin modes in chains of dipolarly interacting rectangular magnetic dots