Black hole formation in AdS and thermalization on the boundary