A simple representation of three-dimensional molecular structure