Bound states of a fermion and a Dirac dyon in Robertson-Walker metric