An inexact dual logarithmic barrier method for solving sparse semidefinite programs