Sinusoidal vs Learned Positional Encoding: Transformer Design for LLMs