Studies on design and synthesis of some potential selective estrogen receptor modulators and anti ulcer agents