BV functions in Hilbert spaces