Optical and mechanical mode tuning in an optomechanical crystal with light-induced thermal effects