Quartz crystal microbalance with rigid mass partially attached on electrode surfaces