Density functional theory study of phonons in graphene doped with Li, Ca and Ba