On bandwidth-2 graphs