Molecular dynamics study of linear and comb-like polyelectrolytes in aqueous solution: effect of Ca2+ ions