Russian warships to avoid Spanish port after criticism