Detection of microvariability for BL Lacertae objects