Ramsay wins European Masters by four for second European Tour title