Spanish premier says ending Russia-Ukraine war top priority