Gravar-mail: Coiling of elastic rods on rigid substrates