Ship that collapsed Baltimore bridge had blackouts both 10 hours before leaving port and shortly before fatal collision