Analytic solutions for marginal deformations in open string field theory