Ireland gay-marriage vote a 'reality check' for church