Archbishop of Canterbury says churches must be 'safe' for gays