Host galaxy and close environment of BL Lacertae objects