Field theory of finite-size effects for systems with a one-component order parameter