How does the metallic and non-metallic character vary on moving from left to right in a period?