On the symmetric solutions of linear matrix equations