Knot invariants and the Bollobás-Riordan polynomial of embedded graphs