Heavy winds and rain as Ernesto moves towards Atlantic Canada