Officials released new details of the attack, which killed six, including a note from the gunman’s phone.