Vibrational modes of polythiophene and polyselenophene