A cross-dressing burglar whoA A broke into a house and filmed himself wearing a schoolgirl’s underwear has been jailed indefinitely.