British hacker who hijacked Obama and Musk Twitter accounts to send fraudulent messages sentenced to prison