Asymptotic safety of scalar field theories