Edge effects in buckled thin films on elastomeric substrates