US President Joe Biden and his Russian counterpart Vladimir Putin have accepted in principle to hold a summit.