One-dimensional magnetic interaction in BaMn2Si2O7