Spain introduces shared custody for pets