Advances in single-molecule and single-particle imaging