Computationally enhanced projection methods for symmetric Sylvester and Lyapunov matrix equations