A study of solar preflare activity using two-dimensional radio and SMM-XRP observations