Edge states in gated bilayer-monolayer graphene ribbons and bilayer domain walls