Several thousand migrants and refugees stranded at sea in the Indian Ocean have been granted temporary shelter by the governments of Indonesia, Thailand and Malaysia. The people have endured horrendous conditions.