Migrating birds are arriving at their breeding grounds earlier as global temperatures rise, an Edinburgh University study finds.