Spanish police find migrants in perilous conditions