Rs 500, Rs 1000 notes to be invalid