Compact and accurate models for the diatomic potential energy