Force constants and molecular potential functions in redundant coordinates