Gene networks reveal transition from healthy to failing heart