Ultrafast relaxation of hot optical phonons in monolayer and multilayer graphene on different substrates