Hundreds of migrants from Myanmar and Bangladesh are stranded in the sea after Indonesia, Thailand and Malaysia denied them entry.