Urban leopard attacks increase as habitat shrinks