Contact instability of thin elastic films on patterned substrates.