Nano‐antenna synthesis for end‐fire and pencil‐beam far‐field radiation patterns using vector spherical wave functions