Iteration-variational method and its application to quantum-electrodynamic calculations in one- and two-electron atoms