The prime minister and governor general have paid their respects to prince Philip at a church service in Sydney this morning.