Camera Motion from Group Synchronization