Optimal sticky prices under rational inattention