A molecular dynamics calculation of solid phase of malonic acid: role of hydrogen-bond chains and the elastic constants