Myanmar quake damages nearly 400 ancient temples