Analytical results on Casimir forces for conductors with edges and tips