Dijet production at HERA as a probe of BFKL dynamics