Germany is preparing to crack down after a sharp increase in cash-machine bombings by criminal gangs in recent years.