Ministers are consulting on plans to restrict the use of smart glasses amid growing evidence they are being used to film women without their consent.